package com.jiaai.shop.store.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 佳爱网络科技
 * @since 2018-05-04
 */
@TableName("t_bank")
public class TBank extends Model<TBank> {

    private static final long serialVersionUID = 1L;

	@TableId(value="bankId", type= IdType.AUTO)
	private Integer bankId;
    /**
     * 开户银行
     */
	private String bankName;
    /**
     * 银行卡号
     */
	private String bankCode;
    /**
     * 开户名
     */
	private String accountname;
    /**
     * 支行名称
     */
	private String subbranch;
    /**
     * 所属省
     */
	@JSONField(serialize = false)
	private String province;
    /**
     * 所属市
     */
	@JSONField(serialize = false)
	private String city;
    /**
     * 别名
     */
	private String alias;
	@JSONField(serialize = false)
	private String mId;
	@JSONField(serialize = false)
	private Date createTime;


	public Integer getBankId() {
		return bankId;
	}

	public void setBankId(Integer bankId) {
		this.bankId = bankId;
	}

	public String getBankName() {
		return bankName;
	}

	public void setBankName(String bankName) {
		this.bankName = bankName;
	}

	public String getBankCode() {
		return bankCode;
	}

	public void setBankCode(String bankCode) {
		this.bankCode = bankCode;
	}

	public String getAccountname() {
		return accountname;
	}

	public void setAccountname(String accountname) {
		this.accountname = accountname;
	}

	public String getSubbranch() {
		return subbranch;
	}

	public void setSubbranch(String subbranch) {
		this.subbranch = subbranch;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getAlias() {
		return alias;
	}

	public void setAlias(String alias) {
		this.alias = alias;
	}

	public String getmId() {
		return mId;
	}

	public void setmId(String mId) {
		this.mId = mId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.bankId;
	}

}
